﻿@using Webdiyer.WebControls.Mvc

@model PagedList<MvcFrameStruct.Areas.Article.Models.ArticleInfo>
<link rel="stylesheet" type="text/css" href="~/Content/pagerstyles.css" />

@{ Html.RenderPartial("_ArticleTable"); }
<div class="text-right">
    @Ajax.Pager(Model, new PagerOptions { PageIndexParameterName = "id", ContainerTagName = "ul", CssClass = "pagination", CurrentPagerItemTemplate = "<li class=\"active\"><a href=\"#\">{0}</a></li>", DisabledPagerItemTemplate = "<li class=\"disabled\"><a>{0}</a></li>", PagerItemTemplate = "<li>{0}</li>" }).AjaxOptions(a => a.SetUpdateTargetId("articles"))
</div>